package com.mingqijia.gassafety.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mingqijia.gassafety.db.entity.annotation.OperateLogFiled;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 企业代码
 * </p>
 *
 * @author xuhongbin
 * @since 2024-03-04
 */

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_gss_company_code")
@ApiModel(value="CompanyCode对象", description="企业代码")
public class CompanyCode extends BaseEntity{

    private static final long serialVersionUID=1L;

    @OperateLogFiled(name = "主键")
    @TableId(value = "Id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "企业代码")
    @TableField("company_code")
    private Integer companyCode;

}
